$OpenBSD: patch-cdda2wav_local_cnf_in,v 1.6 2014/11/03 09:12:41 ratchov Exp $
--- cdda2wav/local.cnf.in.orig	Mon Dec 28 17:16:56 2009
+++ cdda2wav/local.cnf.in	Fri Oct 31 10:01:12 2014
@@ -47,15 +47,16 @@ OSS_SOUND_DEV=	'"/dev/dsp"'
 SUN_SOUND_DEV=	'"/dev/audio"'
 
 HAVE_OSS=	@HAVE_OSS@
+HAVE_SNDIO=	@HAVE_SNDIO@
 HAVE_SUNSOUND=	@HAVE_SUNSOUND@
 HAVE_WINSOUND=	@HAVE_WINSOUND@
 HAVE_OS2SOUND=	@HAVE_OS2SOUND@
 HAVE_QNXSOUND=	@HAVE_SYS_ASOUNDLIB_H@
 #_HAVE_SOUND=	$(_UNIQ)$(HAVE_OSS)$(HAVE_SUNSOUND)
-_HAVE_SOUND=	$(_UNIQ)$(HAVE_OSS)$(HAVE_SUNSOUND)$(HAVE_WINSOUND)$(HAVE_OS2SOUND)$(HAVE_QNXSOUND)
+_HAVE_SOUND=	$(_UNIQ)$(HAVE_OSS)$(HAVE_SNDIO)$(HAVE_SUNSOUND)$(HAVE_WINSOUND)$(HAVE_OS2SOUND)$(HAVE_QNXSOUND)
 __HAVE_SOUND=	$(_HAVE_SOUND:$(_UNIQ)=)
-#HAVE_SOUND=	$(__HAVE_SOUND:$(_UNIQ)$(HAVE_OSS)$(HAVE_SUNSOUND)=-DECHO_TO_SOUNDCARD)
-HAVE_SOUND=	$(__HAVE_SOUND:$(_UNIQ)$(HAVE_OSS)$(HAVE_SUNSOUND)$(HAVE_WINSOUND)$(HAVE_OS2SOUND)$(HAVE_QNXSOUND)=-DECHO_TO_SOUNDCARD)
+#HAVE_SOUND=	$(__HAVE_SOUND:$(_UNIQ)$(HAVE_OSS)$(HAVE_SNDIO)$(HAVE_SUNSOUND)=-DECHO_TO_SOUNDCARD)
+HAVE_SOUND=	$(__HAVE_SOUND:$(_UNIQ)$(HAVE_OSS)$(HAVE_SNDIO)$(HAVE_S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